package com.lhd.qd.module.system.user.model.converter;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhd.qd.module.system.user.model.dataobj.UserOperateLogDO;
import com.lhd.qd.module.system.user.model.vo.UserOperateLogDetailVO;
import com.lhd.qd.module.system.user.model.vo.UserOperateLogListVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public abstract class AbstractUserOperateLogConverter {

    public static AbstractUserOperateLogConverter INSTANCE = Mappers.getMapper(AbstractUserOperateLogConverter.class);

    public abstract Page<UserOperateLogListVO> doPage2ListVOPage(IPage<UserOperateLogDO> doPage);

    public abstract UserOperateLogDetailVO do2DetailVO(UserOperateLogDO dataObj);
}
